package com.neusoft.neu24.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.*;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 监督反馈表
 * </p>
 *
 * @author fyc
 * @since 2024-06-18
 */
@Getter
@Setter
@TableName("tb_feedback")
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Feedback implements Serializable {

    private static final long serialVersionUID = 1L;

    //"反馈id"
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    //"公众监督员id"
    @TableField("pid")
    private Integer pid;

    //"反馈所在省份id"
    @TableField("fpid")
    private Integer fpid;

    //"反馈所在城市id"
    @TableField("fcid")
    private Integer fcid;

    //"反馈所在地区id"
    @TableField("frid")
    private Integer frid;

    //"反馈所在的具体地点"
    @TableField("floc")
    private String floc;

    //"反馈地址全称"
    @TableField("faddress")
    private String faddress;

    //"反馈的时间"
    @TableField("createtime")
    private Date createtime;

    //"AQI id"
    @TableField("aid")
    private Integer aid;

    //"所指派的网格员id"
    @TableField("gid")
    private Integer gid;

    //"指派的日期+时间"
    @TableField("updatetime")
    private Date updatetime;

    //"反馈的状态 0待完成 1检测中 2已完成"
    @TableField("state")
    private Integer state;

    //"备注"
    @TableField("remark")
    private String remark;

    //"指派的日期+时间"
    @TableField("lastupdatetime")
    private Date lastupdatetime;
}
